"use strict";
{
    let zjz = {
        color: "深灰色",
        price: 10000,
        screen: '14inch'
    };
    let wed = 5;
    let me = {
        name: 'xxx',
        age: 18,
        height: 180
    };
    // keyof ComputerType ==== 'color' | 'price' | 'screen'
    function getDataValue(data, key) {
        return data[key];
    }
    getDataValue(zjz, 'price');
    let arr = [zjz, 'color'];
    let mex = {
        name: 'xiaohigh',
        year: 20,
        program: () => {
            console.log('xxx');
        },
        language: 'js'
    };
}
{
    //变量类型的声明
    // axios.get('http://api.xiaohigh.com');
    //JS 的内容对象
    // let d: Date = new Date();
    //正则类型
    // let reg:RegExp = /520/;
    //
    let div = document.querySelector('div');
}
